/**
 * Created by MADHUKAR on 1/18/2015.
 */
//data

// how  are we the web application getting data from (single page applications)

//-- application server
//-- database server


// webservice or a restful service

// $.ajax();
// xmlhttpRequest (XHR) object,


// dallas
// data, model object

// parse the data from server  and we will create a new object, model
//firstName
//lastName

fullName

var data = { firstName: 'John', lastName : 'Doe'}

var userDetail  = {
    firstName : data.firstName,
        lastName: data.lastName,
        fullName: data.firstName + ' ' + data.lastName
}


//
